#!/bin/sh

# 定义镜像.
IMAGE_NAME="registry.chentaihealth.cn/base/canal"
IMAGE_VERSION="1.1.8"

# 构建过程.
cd "$(dirname "$0")" && docker build \
    --tag "${IMAGE_NAME}:${IMAGE_VERSION}" \
    --label="CANAL_VERSION=1.1.8" \
    --force-rm \
    --no-cache \
    --rm .
